home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue34 / timetrav / readme.txt < prev    next >
Encoding:
Text File  |  1998-03-25  |  1.1 KB  |  31 lines

  1. This zip file contains the code that goes along with the date article in
  2. Delphi Magazine.  It illustrates a way to correctly portray dates taking into
  3. account the Calendar Reformation from Julian to Gregorian.
  4.  
  5. It was done in Delphi 3, though it'll probably work in D2 also, and may
  6. even work in D1, but I doubt if it will since Integer in D3 is
  7. automatically a Longint, and the TDateTimePicker is a Win95 animal.
  8.  
  9.  
  10. CalConstants.pas contains the constants, along with comments from the
  11. source where I borrowed them.
  12.  
  13. BaseDate.pas defines TCalendarDef, the base class for handling
  14. calendars.  A descendant of this class, TEnglishCalendar, illustrates
  15. how to define a specific culture's calendar reformation.
  16.  
  17. Calendar.pas, only included here as a component, comes from the
  18. Borland samples palette entry.
  19.  
  20. ModCal.pas is a copy of Calendar.pas modified to use the encodeing and
  21. decoding logic in TEnglishCalendar.
  22.  
  23. TestMain.pas is the only project form and illustrates the various
  24. conversions and visual calendar layouts.
  25.  
  26. Brandon C. Smith
  27. http://synature.com
  28. synature@synature.com or synat@windo.missouri.org or synature@aol.com
  29.  
  30.  
  31.